package com.guigu.ssyx.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.atguigu.ssyx.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 秒杀活动场次
 * </p>
 *
 * @author liuyang
 * @since 2025-09-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("seckill_time")
@ApiModel(value="SeckillTime对象", description="秒杀活动场次")
public class SeckillTime extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场次名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "每日开始时间")
    @TableField("start_time")
    private LocalTime startTime;

    @ApiModelProperty(value = "每日结束时间")
    @TableField("end_time")
    private LocalTime endTime;

    @ApiModelProperty(value = "启用状态")
    @TableField("status")
    private Boolean status;


}
